package com.woniu.new_orange.mapper;

import com.woniu.new_orange.entity.Permission;
import com.woniu.new_orange.staff_module_dong.vo.PermissionVo;

import java.util.List;

/**
* @author donghang
* @description 针对表【permission(权限表;学院表)】的数据库操作Mapper
* @createDate 2023-01-14 09:33:49
* @Entity com.woniu.new_orange.entity.Permission
*/
public interface PermissionMapper {
    //  董航  2023/2/1 11:48  员工菜单动态生成
    List<PermissionVo> selMenuByStaffId(Long staffId, Integer parentId);

    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);

}
